package com.mysimplenews.news;

import com.dmx.common.xml.util.XmlUtils;
import com.mysimplenews.bean.ConfigXml;

import java.io.InputStream;

/**
 * Created by cxy on 2016/6/14.
 */
public class NewsTabDao {
    public ConfigXml getTabData(String is) {
        ConfigXml configXml = null;
        if (is != null)
            configXml = XmlUtils.getObjectbyXml(is, ConfigXml.class);
        return configXml;
    }
}
